{% extends '::base.html.twig' %}

{% block about_attributes %} class="active"{% endblock %}

{% block title %}{% trans %}Testimonials{% endtrans %}{% endblock %}

{% block body %}

<div class="row-fluid whiteWrapper">
    <fieldset>
        <legend>{% trans %}Testimonials{% endtrans %}</legend>
        <hr class="smallHr">
    </fieldset>

    {% for testimonial in testimonials %}    
    <div class="span10 media  testimonialsBlock">
        <a class="pull-left media-image" href="javascript:void(0)">
            {% if testimonial.image %}
                <img class="media-object img-rounded img-polaroid" alt="{{ testimonial }}" src="{{ testimonial.getSmallImageUrl(120,120) }}">
            {% else %}
                <img class="media-object img-rounded img-polaroid" alt="{{ testimonial }}" src="{{ asset('img/user.jpeg') }}">
            {% endif %}
        </a>
        <div class="media-body">
            <h4 class="media-heading">{{ testimonial }}</h4>
            <p>
                {{ testimonial.testimonial }}
            </p>
        </div>
    </div>
    {% endfor %}    
</div>



{% endblock %}